update of keytest menu state machine