fix for crash on tab completing using software keyboard
now tab completing is invalidated on input box text changes, which weren't caught by onKey which is only triggered by hardware keyboard events