                     break
                 default:
                     play = PlayList()
-                    addList(play!, atIndex: -1)
+                    add(list: play!, atIndex: -1)
                     playlistTableView.reloadData()
                     
                     //  Pick our seleced playlist

                            let oldItem = playitems[row+newIndexOffset+1]

                            //  We've shifted so remove old item at new location
                            removeItem(oldItem, atIndex: row+newIndexOffset+1)
                        }
                    }
                    else
                    {
                        addItem(item!, atIndex: -1)
                    }
                    newIndexOffset += 1
                }

    }

    //  "List" items are PlayList objects
    internal func add(list item: PlayList, atIndex p_index: Int) {
        var index = p_index
        if let undo = self.undoManager {
            undo.registerUndo(withTarget: self, handler: {[oldVals = ["item": item, "index": index] as [String : Any]] (PlaylistViewController) -> () in
                self.remove(list: oldVals["item"] as! PlayList, atIndex: oldVals["index"] as! Int)
                if !undo.isUndoing {
                    undo.setActionName("Add PlayList")
                }
