         return
 
     # Updating toolbar
-    @disposables.add atom.commands.add 'atom-workspace',
-      'spark-dev:update-login-status': => @updateToolbarButtons()
-      'spark-dev:update-core-status': => @updateToolbarButtons()
+    commands = {}
+    commands["#{@packageName()}:update-login-status"] = => @updateToolbarButtons()
+    commands["#{@packageName()}:update-core-status"] = => @updateToolbarButtons()
+    @disposables.add atom.commands.add 'atom-workspace', commands
 
     # Monitoring changes in settings
     settings ?= require './vendor/settings'

        # Download binary
        @compileCloudPromise = null

        if atom.config.get('spark-dev.deleteOldFirmwareAfterCompile')
          # Remove old firmwares
          files = fs.listSync rootPath
          for file in files

            @SettingsHelper.setLocal 'compile-status', {error: e.output}
          else
            @SettingsHelper.setLocal 'compile-status', {errors: errors}
            atom.commands.dispatch @workspaceElement, "#{@packageName()}:show-compile-errors"
        else
          @SettingsHelper.setLocal 'compile-status', {error: e.output}

        atom.commands.dispatch @workspaceElement, "#{@packageName()}:update-compile-status"
        @compileCloudPromise = null
    , (e) =>
      @requestErrorHandler e
      @SettingsHelper.setLocal 'compile-status', null
      atom.commands.dispatch @workspaceElement, "#{@packageName()}:update-compile-status"

  # Show compile errors list
  showCompileErrors: ->
