removed handling of NSNotification observer for UIApplicationWillResignActiveNotification state