Enabling endSession on applicationWillTerminate in Maps example.