added deselect row method