(Settings data) refactor setting_data_*_setting functions