Integrated Statechart into App