Fixing behaviour when states views are called before loading the main window
Merge branch 'master' of github.com:ideaismobile/IDMViewControllerStates