Tmp Settigs screen ui and some refactoring