Add logic to check for updates when the app re-enters the foreground