edit preference change