create preference view to change synchronization mode
synchronize according to the user pref