Only check for updates when the app becomes active and was actually in the background previously