adds UIApplicationDidBecomeActiveNotification handler