         window.title = player!.gameName
 
         bookmark.isHidden = true
+        bookmarkButtonButton.bookmarkState = false
 
         // Close the sheet
         window.endSheet(createSheet)


        // Mark the window's red close button if the are changes to save
        window.isDocumentEdited = needToSave
    }

    // MARK: Stats Tab Functions


    var statsTabImage: NSImageView? = nil

    var bookmarkViewController: NSTitlebarAccessoryViewController = NSTitlebarAccessoryViewController.init()

    // MARK: App Lifecycle Functions

    func applicationWillFinishLaunching(_ notification: Notification) {
