updated a bug when you selected a new point, the old line in the table can not be deselcted(bgcolor still remains)