Table cell selection after mouseleave

i have the vaadin application, that contains the table and some s.c. “control-buttons” placed button.
i wish to configure one cell by call of the configuration dialog, that appears after 1. cell selectiton and 2. click on control-button.
I want to make clear to users that exactly the cell is selected, so i realized
that forum-idea

using ItemClickListener and a CellStyleGenerator .Also
example was used . The table cell will be selected in other color, if
mouse hover
is. But mouseleave causes
no color
is displayed in cell.

I need your help please to resolve problem.

The wish: after mouseleave selected cell have the color, set in CellStyleGenerator .