Replacing edit button with click row function