Make the view react to events in the model