Improved clickable rows functionality