Word class is updated in mapped mode as well

We were handling the change event to see if the text is correct or not.
Change event is not triggered if I modify the text myself. So we
manually trigger it