         
         waveformView.delegate = self
         view.addSubview(waveformView)
+        
+        // refresh playlists in case anything has changed
+        engine.ipod.refreshPlaylists()
     }
     
     @IBAction func done() {

        stingNumberLabel.text = "Sting \(stingIndex + 1)"
        updateLabels()
        
        // refresh playlists in case anything has changed
        engine.ipod.refreshPlaylists()
    }
    
    override func viewDidAppear(_ animated: Bool) {
        // get waveform view positions
        let waveformFrame = waveformLoadingImageView.frame
        
        waveformView = FDWaveformView(frame: waveformFrame)
        waveformView.doesAllowScrubbing = true
        waveformView.doesAllowScrubbing = true
        waveformView.doesAllowScroll = false

    }
    
    func waveformViewDidRender(_ waveform: FDWaveformView) {
        waveformLoadingImageView.isHidden = true
    }
    
    func waveformDidEndScrubbing(_ waveformView: FDWaveformView) {
