 
       if SettingsHelper.hasCurrentCore()
         # Menu items depending on current core
-        ideMenu.submenu = ideMenu.submenu.concat [{
+        devMenu.submenu = devMenu.submenu.concat [{
           label: 'Rename ' + SettingsHelper.getLocal('current_core_name') + '...',
           command: 'spark-dev:rename-device'
         },{


    # Refresh UI
    atom.menu.update()

          command: 'spark-dev:flash-cloud'
        }]

      devMenu.submenu = devMenu.submenu.concat [{
        type: 'separator'
      },{
        label: 'Claim device...',
