         playitemTableView.doubleAction = #selector(playPlaylist(_:))
         
         //  Load playlists shared by all document; our delegate maintains history
-        self.restorePlaylists(restoreButton)
+        self.restorePlaylists(nil)
 
         NotificationCenter.default.addObserver(
             self,

}

class PlayItemCornerView : NSView {
    @IBOutlet weak var playlistArrayController: NSDictionaryController!
	@IBOutlet weak var playitemArrayController: NSArrayController!
    @IBOutlet weak var playitemTableView: PlayTableView!
    override func draw(_ dirtyRect: NSRect) {
        let tote = NSImage.init(imageLiteralResourceName: "NSRefreshTemplate")
        let alignRect = tote.alignmentRect
        
        NSGraphicsContext.saveGraphicsState()

            })
        }
        observe(item, keyArray: itemIvars, observing: true)
        if index > 0 && index < (playitemArrayController.arrangedObjects as! [PlayItem]).count {
            playitemArrayController.insert(item, atArrangedObjectIndex: index)
        }
        else
        {
            playitemArrayController.addObject(item)
            let row = playitemTableView.selectedRow
            if row >= 0 {
                index = row
            }
            else
            {
                index = (playitemArrayController.arrangedObjects as! [PlayItem]).count
            }
        }
        DispatchQueue.main.async {
            self.playitemTableView.scrollRowToVisible(index)
        }
