Added applicationDidEnterBackground interface.