change custom_eeprom for int only (no other datatypes)

Probably we won't need other data types anyway.