Add functionality to background, reset, close and launch an app
Change type for postRunAppInBackground to take a NSInteger instead of int
Adding rotate