Implemented the three buttons on the pebble.