Made changes to storyboard and fixed error when row is selected.