Save sys setting to preference file