saving current setting.