Added watchdog reset in pin change interrupt