Refactored settings and added developer mode option UI