fixed bugs: making dragged cell as current, clearing previously selected cells once clicked on an empty cell