         _navController = nil
         let mainController: PockMainController = PockMainController.load()
         _navController = PKTouchBarNavController(rootController: mainController)
+    }
+    
+    @objc func reloadTouchBarServer() {
+        TouchBarHelper.reloadTouchBarServer { [weak self] success in
+            if success {
+                self?.reloadPock()
+            }
+        }
     }
     
     private func registerGlobalHotKey() {

                                                          selector: #selector(toggleAutomaticUpdatesTimer),
                                                          name: .shouldEnableAutomaticUpdates,
                                                          object: nil)
        NSWorkspace.shared.notificationCenter.addObserver(self,
                                                          selector: #selector(reloadPock),
                                                          name: .shouldReloadPock,

    
    /// Status bar Pock icon
    fileprivate let pockStatusbarIcon = NSStatusBar.system.statusItem(withLength: NSStatusItem.squareLength)
    
    /// Main Pock menu
    private lazy var mainPockMenu: NSMenu = {
        let menu = NSMenu(title: "Pock Options")
        menu.addItem(withTitle: "Preferences…".localized, action: #selector(openPreferences), keyEquivalent: ",")
        menu.addItem(withTitle: "Customize…".localized, action: #selector(openCustomization), keyEquivalent: "c")
        menu.addItem(NSMenuItem.separator())
        let advancedMenuItem = NSMenuItem(title: "Advanced".localized, action: nil, keyEquivalent: "")
        advancedMenuItem.submenu = advancedPockMenu
        menu.addItem(advancedMenuItem)
        menu.addItem(NSMenuItem.separator())
        menu.addItem(withTitle: "Support this project".localized, action: #selector(openDonateURL),  keyEquivalent: "s")
        menu.addItem(NSMenuItem.separator())
        menu.addItem(withTitle: "Quit Pock".localized, action: #selector(NSApp.terminate), keyEquivalent: "q")
        return menu
    }()
    
    private lazy var advancedPockMenu: NSMenu = {
        let menu = NSMenu(title: "Advanced")
        menu.addItem(withTitle: "Reload Pock".localized, action: #selector(reloadPock), keyEquivalent: "r")
        menu.addItem(withTitle: "Reload System Touch Bar".localized, action: #selector(reloadTouchBarServer), keyEquivalent: "a")
        return menu
    }()
    
    /// Preferences
    fileprivate let generalPreferencePane: GeneralPreferencePane = GeneralPreferencePane()
