Added view to edit switches