added prevent default to selectRow function to prevent highlighting