Update applySettings.java

updating apply settings