fixes method updatePreeditText