To avoid re-rendering of the table row when clicked