Fixed bug in writeDataEEPROM.