Added the implementation of the SettingsUI class