 
   setNavItemState:({name, route, options}, state)->
 
+    if state is 'active'
+      state  = 'running'
+      select = yes
+
     options or= {}
     route   or= options.navItem?.path or '-'
 

      if (///^#{route}///.test nav.data.path) \
      or (nav.data.path is "/#{name}") or ("/#{name}" is nav.data.path)
        nav.setState state
        hasNav = yes

    unless hasNav


      appManager.on "AppUnregistered", (name, options) =>
        @setNavItemState {name, options}, 'initial'

      appManager.on "AppIsBeingShown", (instance, view, options) =>
        @setNavItemState {name:options.name, options}, 'active'
