renamed app states to question and answer state