Rework preference syncing

Note the new preference URL (it should be commit 30f1e00309074f85ad39aa24d27b6c63f18ade85)