Save EEPROM for fist ime, bugs fixed