Make sure to sync onResume