removed the click event from the view, and put it back in the controller