Refactor settings view and activity
Refactor settings 
Improved spinner
clean useless variables and codes