Add functionality to background, reset, close and launch an app