Improve the initialization of state types in the controller
Merge branch 'master' of https://github.com/arnauddegiuli/MyDomo