         retrieveClips()
     }
     
-    override func viewWillAppear(_ animated: Bool) {
-        super.viewWillAppear(animated)
-        checkForConnectvity()
-    }
-    
     func resetAndRetrieveClips() {
         resetClipQuery()
         retrieveClips()

        self.clipQueryIsLoading = false
        self.clipQueryActivityIndicator.stopAnimating()
        
        guard let mediaRefArray = mediaRefs, mediaRefArray.count > 0 || clipsArray.count > 0 else {
            self.tableView.isHidden = true
            self.showNoDataView()
            return
        }
        
        guard mediaRefArray.count > 0 else {
            self.clipQueryEndOfResultsReached = true
            self.clipQueryActivityIndicator.stopAnimating()
            self.clipQueryMessage.isHidden = false
            return
        }
        
        for mediaRef in mediaRefArray {
            self.clipsArray.append(mediaRef)
        }
        

            }
        }
        else {
            self.addNoDataViewWithMessage(message, buttonTitle: buttonTitle, buttonImage: nil, retryPressed: #selector(ClipsTableViewController.resetAndRetrieveClips))
        }
        
        self.activityIndicator.stopAnimating()
        self.tableView.isHidden = true
        showNoDataView()
        
    }
    
    func reloadClipData(mediaRefs: [MediaRef]? = nil) {
