Changed link click handler