Remove previous highlight function

Stored previous row and removed the previous highlight