Transformation state machine is called by MainWindow