         super.viewDidLoad()
         roomsAvailableTableView.delegate = self
         roomsAvailableTableView.dataSource = self
+        
+        NSNotificationCenter.defaultCenter().addObserver(self,
+                                                         selector: #selector(self.notConnectedToRoom(_:)),
+                                                         name: "notConnected", object: nil)
         
         newRoomButton.setLetterSpacing(defaultLetterSpacing)
     }

        hosts = portal.getFoundHosts()
        dispatch_async(dispatch_get_main_queue(), {
            self.roomsAvailableTableView.reloadData()
        })
    }
}

        
    }
    
    func disconnectedFromRoom(peer: MCPeerID) {
        NSNotificationCenter.defaultCenter()
            .postNotificationName("notConnected",
                                  object: self,
                                  userInfo: ["peerName": peer.displayName] as [NSObject: AnyObject])
    }
    
    func gameStartSignalReceived(data: AnyObject?, peer: MCPeerID) {
