             
         }
         
-        self.refreshTable()
+   
     }
+    
     
     func refreshTable() {
         self.tableView.reloadData()

    


    func confirm() {
        
        self.ref = FIRDatabase.database().reference()
        
        let prntRef  = FIRDatabase.database().reference().child("list").child(roomList[myIndex].name!)
        
        if roomList[myIndex].tielleve! == "Ledig" {
            

            
            prntRef.updateChildValues(["tielleve": "Ledig"])
        
        } else {
            print("test")
        }
    }
    
    
    func confirmelleveTolv() {
            
        if roomList[myIndex].ellevetolv! == "Ledig" {
            
