Update Settings.java

removing main and fixing indentation