working pebble first layer and add code for connecting in background, not working though