Fix onTextChanged character reinsertion on orientation change.