Remove exit from setAndView function. Not necessary.