added UIAlertView to pop up when a row is selected. More comments also.