     
     fileprivate func addObservers()
     {
-        NotificationCenter.default.addObserver(self, selector: #selector(MyVideosViewController.uploadInitiated(_:)), name: VideoSettingsViewController.UploadInitiatedNotification, object: nil)
+        NotificationCenter.default.addObserver(self, selector: #selector(MyVideosViewController.uploadInitiated(_:)), name: NSNotification.Name(rawValue: VideoSettingsViewController.UploadInitiatedNotification), object: nil)
     }
     
     fileprivate func removeObservers()

        {
            if video.uri == videoUri
            {
                return NSIndexPath(forRow: index, inSection: 0)
            }
        }
        

        NotificationCenter.default.removeObserver(self, name: NSNotification.Name(rawValue: VideoSettingsViewController.UploadInitiatedNotification), object: nil)
    }
    
    func uploadInitiated(_ notification: NSNotification)
    {
        if let video = notification.object as? VIMVideo
        {
            self.items.insert(video, at: 0)
            
            let indexPath = IndexPath(row: 0, section: 0)
            self.tableView.insertRows(at: [indexPath], with: .top)
