Frameworks: Remove Redundant code from Settings.java