         }
 
         tableView.emptyDataSetSource = self
-        //tableView.emptyDataSetDelegate = self
+        tableView.emptyDataSetDelegate = self
         tableView.tableFooterView = UIView()
         // Set top of table view to align with scroll view
         tableView.contentOffset = .zero
 
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
     }
 
     func sectionIndexesForBusStop() -> [String: [BusStop]] {

    }

    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "BusStop", for: indexPath) as! BusStopCell
        let section = sectionIndexes[sortedKeys[indexPath.section]]
        cell.textLabel?.text = section?[indexPath.row].name
        return cell


    func emptyDataSet(_ scrollView: UIScrollView!, didTap didTapButton: UIButton!) {
        setUpActivityIndicator()
        tableView.reloadData()
        activityIndicator?.startAnimating()
        retryNetwork { () -> Void in
            self.activityIndicator?.stopAnimating()
            self.activityIndicator = nil
            self.setUpTableOnRetry()
        }
    }

