Revert "fix crash when applicationDidEnterBackground is called twice"

This reverts commit 3e191259.
1 job for fix/crash_and_bugs
in 11 minutes and 36 seconds and was queued for 1 second