Add UI for settings and update settings opbject.