added action for row selection