reduce EEPROM write
fix example comments
Added a class for attaching functions to buttons