leds and buttons integrated, onStop and onRestart overridden