pause on applicationWillResignActive