Saving advanced editor pref in localStorage