Syncing on the app resume