Help with writing to registers for 1Hz pwm and timer interrupt

The correct way to clear a flag is to write just that flag...
EIFR = 1; // clear INT0 flag