implemented the possibility to mark a cell by right click