Added app on and off controls