Updated app project to use the new state machine.