                         
                         let indexPath = IndexPath(row: index, section: 0)
                         self.tableView.deleteRows(at: [indexPath], with: .automatic)
+                        self.updateTableViewBackgroundView()
                     }
                 } else {
                     self.showAlertWithTitle(title: "Error!", message: error.localizedDescription)

                }
                
                self.tableView.insertRows(at: indexPaths, with: .automatic)
                
                for upcomingBill in nextUpcomingBills {
                    self.getBill(for: upcomingBill)

                self.tableView.reloadRows(at: indexPaths, with: .automatic)
            }
        })
    }
    
    func updateTableViewBackgroundView() {
        if self.upcomingBills.count > 0 {
            self.tableView.backgroundView = nil
        } else {
            let label = UILabel(frame: CGRect(x: 0, y: 0, width: self.tableView.bounds.size.width, height: self.tableView.bounds.size.height))
            label.textAlignment = .center
            label.text = "No Results"
            self.tableView.backgroundView = label
        }
    }
    
    //MARK: UITableViewDataSource/Delegate
