Fixes for syncing of preferences automatically