pebble eventhandler code6