Now, the change of the current state of the state machines is shown in
the MainWindow