           <NavItem key='shipView' eventKey='shipView'>
             {shipview.displayName}
           </NavItem>
-          <NavItem key='plugin' eventKey='plugin' onSelect={@handleSelect}>
+          <NavItem key='plugin' eventKey={activePluginName} onSelect={@handleSelect}>
             {plugin?.displayName || defaultPluginTitle}
           </NavItem>
           <NavDropdown id='plugin-dropdown' pullRight title=''

    @selectTab key
  handleSelectDropdown: (e, key) ->
    @selectTab key
    @selectTab 'plugin' if !@state.doubleTabbed
  handleSelectMenuItem: (e, key) ->
    e.preventDefault()
    if @state.doubleTabbed
      @setState
        pluginKey: key
    else
      @setState
        key: key
        pluginKey: key
  handleCtrlOrCmdTabKeyDown: ->
    @selectTab 'mainView'
  handleCtrlOrCmdNumberKeyDown: (num) ->

  componentDidUpdate: (prevProps, prevState) ->
    cur = (new Date()).getTime()
    console.log "the cost of tab-module's render: #{cur-@nowTime}ms" if process.env.DEBUG?
  cachePluginList: async ->
    plugins = yield PluginManager.getValidPlugins()
    plugins = plugins.filter (plugin) ->
      plugin.show isnt false
    plugins = _.sortBy plugins, 'priority'
    if @isMounted()
      @setState
        plugins: plugins
  selectTab: (key) ->
    return if !key?
    event = new CustomEvent 'TabContentsUnion.show',
