only set onsynctopreference when instantApply
syncToPerf need set pref.value if want to be remember