Moved settings view to use viewmodel and added validation.