Fix broken pref syncing