bug fix config saving

fixed a bug writing to the wrong eeprom address.