Ngrams Table: add transient state
Currently, ngrams table seems to slow : local change needs to be confirmed by the backend.
Solution to get more agility when updating the ngrams: add a transient State which is a local change that need to be confirmed by the server.
Ergonomically the local change is updated with some transparency that is removed after confirmation.