                 bookmark.place = value
                 bookmark.needsDisplay = true
                 bookmark.isHidden = false
+                bookmarkButtonButton.bookmarkState = true
             }
         }
 


        // Hide the bookmark
        bookmark.isHidden = true

        // Hide the Game menu
        gameMenu.isHidden = true

        tabs.selectFirstTabViewItem(self)
        window.center()

        // Set up notifications - used when the player selects a pack icon from the popover
        let nc = NotificationCenter.default
        nc.addObserver(self, selector: #selector(updatePack), name: NSNotification.Name(rawValue: "set.pack.item.index"), object: nil)

        // Set up the UI - if we haven't already done so by double-clicking on a .ffc file
        if !doubleClickFileLoad { initUI() }

        // Are we starting a new game? May not be if the player double-clicked a saved file
        if !gameInProgress { showPlayerCreate() }
    }

    func application(_ sender: NSApplication, openFile filename: String) -> Bool {

        initUI()
        doubleClickFileLoad = true
        return self.openFileHander(filename)
    }

    func applicationWillTerminate(_ aNotification: Notification) {
