Added a delegation for the view controller, so the second view can pick up information from the list.