select/unselect row event handler fix