The device now uses the Arduino's EEPROM storage to let the device's state
and any enqueued events persist even after the device has been turned off.