Updated UI.
Added selectors for each setting item.
Refactored code a little.