     var playlists: [Playlist] = []
     var callback: ((Playlist?) -> Void)?
 
+    var appDelegate: AppDelegate { get { return UIApplication.sharedApplication().delegate as AppDelegate }}
+
     override func viewDidLoad() {
         super.viewDidLoad()
         clearsSelectionOnViewWillAppear = true
         let nib = UINib(nibName: "SelectPlaylistTableViewCell", bundle: nil)
         tableView?.registerNib(nib, forCellReuseIdentifier:self.tableCellReuseIdentifier)
-        fetchPlaylists()
+        observePlaylists()
     }
 
     override func viewWillAppear(animated: Bool) {

            }
        })
    }
}

                                          style: UIBarButtonItemStyle.Plain,
                                         target: self,
                                         action: "close")
        let newPlaylistButton = UIBarButtonItem(image: UIImage(named: "add_stream"),
                                                style: UIBarButtonItemStyle.Plain,
                                               target: self,
                                               action: "newPlaylist")
        navigationItem.rightBarButtonItems = [newPlaylistButton]

        let appDelegate = UIApplication.sharedApplication().delegate as AppDelegate
        navigationItem.leftBarButtonItems = [closeButton]
    }
