Adds on click function to third_view of row