Only reload the cache when the application was in the background before