Refactured ui settings