Added eeprom handlers for saving state through reboots.