Work on UI and retrieving prefs - not done
Refactor
Refactor generated files
Added icon to Spinner.