XCode Tutorial 9: The App Delegate & Doing Things When App is Closed