application setting modify and refactoring