Patch for issue #32 and related. updates device state to values stored in flash
Merge pull request #33 from IHeartRobotics/keyvalupdate

Patch for issue #32 and related