     }
 
     func updateNavbar() {
-        let newPlaylistButton         = UIBarButtonItem(image: UIImage(named: "add_stream"),
-                                                        style: UIBarButtonItemStyle.Plain,
-                                                       target: self,
-                                                       action: "newPlaylist")
-        navigationItem.rightBarButtonItems  = [newPlaylistButton]
+        let newPlaylistButton = UIBarButtonItem(image: UIImage(named: "add_stream"),
+                                                style: UIBarButtonItemStyle.Plain,
+                                               target: self,
+                                               action: "newPlaylist")
+        navigationItem.rightBarButtonItems = [newPlaylistButton]
     }
 
     func newPlaylist() {
-        showTitleEditAlertViewAtIndex(-1)
+        showTitleEditAlertViewAtIndex(NEW_PLAYLIST_INDEX)
     }
 
     func showPlayingPlaylist() {

        if index >= 0 {
            playlists[index].title = newTitle
            PlaylistStore.save(playlists[index])
        } else {
            let playlist = Playlist(title: newTitle)
            playlists.append(playlist)
            PlaylistStore.save(playlist)

    }
    let tableCellReuseIdentifier = "playlistTableViewCell"
    let cellHeight: CGFloat      = 80
    var playlists: [Playlist]    = []
    var appDelegate: AppDelegate { get { return UIApplication.sharedApplication().delegate as AppDelegate } }

    override func viewDidLoad() {
