     @objc private func presentFromSystemTrayItem() {
         let placement: Int64 = TouchBarHelper.isSystemControlStripVisible ? 0 : 1
         self.presentWithPlacement(placement: placement)
-    }
-    
-    private func showControlStripIcon() {
-        DFRSystemModalShowsCloseBoxWhenFrontMost(false)
-        guard systemTrayItem != nil else { return }
-        NSTouchBarItem.removeSystemTrayItem(systemTrayItem!)
-        NSTouchBarItem.addSystemTrayItem(systemTrayItem!)
     }
     
     private func presentWithPlacement(placement: Int64) {

extension NSTouchBar.CustomizationIdentifier {
    static let pockTouchBar = "PockTouchBar"
}
extension NSTouchBarItem.Identifier {
    static let pockSystemIcon = NSTouchBarItem.Identifier("Pock")
}

class PockMainController: PKTouchBarController {
    
    private var items: [NSTouchBarItem.Identifier: NSTouchBarItem] = [:]
    
    private var systemTrayItem: NSCustomTouchBarItem? {
        let item = NSCustomTouchBarItem(identifier: .pockSystemIcon)
        item.view = NSButton(image: #imageLiteral(resourceName: "pock-inner-icon"), target: self, action: #selector(presentFromSystemTrayItem))
        return item
    }
    
    private var systemTrayItemIdentifier: NSTouchBarItem.Identifier? { return .pockSystemIcon }
    
    deinit {

    }
    
    @objc private func willEnterCustomization(_ sender: Any?) {
        self.dismiss()
    }
    
    @objc private func didExitCustomization(_ sender: Any?) {
