Added EEPROM storage of current program mode, used when starting up without PC
Added EEPROM storage of current program mode, used when starting up without PC