Creating switch view for use in settings. Still needs to be refined