Move this to applicationWillEnterForeground