Simplify promises in ChoiceState and FreeText's .input_event slightly