Change type for postRunAppInBackground to take a NSInteger instead of int