Moved the resources syncing to the SyncAdapter