Add row selection listener