Implementation of settings UI.