Added support for writing to EEPROM

Stores total litres used in non-volatile EEPROM.