made the states editable
[#38]
use the view model for states with newly created states too
[#38]
Merge branch 'issues/38'