     
     func teamDidChange(redTeam: Bool) {
         if redTeam {
-            self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setTeam(Team.Red)
-        } else {
-            self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setTeam(Team.Blue)
-        }
-        self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setIsClueGiver(false)
+            Room.instance.getPlayerWithUUID(Player.instance.getPlayerUUID())?.setTeam(Team.Red)
+        } else {
+            Room.instance.getPlayerWithUUID(Player.instance.getPlayerUUID())?.setTeam(Team.Blue)
+        }
+        Room.instance.getPlayerWithUUID(Player.instance.getPlayerUUID())?.setIsClueGiver(false)
         self.broadcastData()
     }
     

    
    func peerDisconnectedFromSession(peerID: MCPeerID) {
        if let playerUUID = self.connectedPeers[peerID] {
            if let player = self.room.getPlayerWithUUID(playerUUID) {
                // Room has been terminated if host player is disconnected
                if player.isHost() {
                    self.room.removeAllPlayers()
                    self.returnToLobby(reason: self.hostDisconnectedString)
                    return
                }
            }
            
            self.room.removePlayerWithUUID(playerUUID)
            self.connectedPeers.removeValueForKey(peerID)
        }
    }
    
    // MARK: PregameRoomViewCellDelegate
    func removePlayerAtIndex(index: Int) {
        self.room.removePlayerAtIndex(index)
    }
    
    func editPlayerAtIndex(index: Int) {

        }
        
        // Only host player can remove players
        if Player.instance.isHost() {
            cell.removeButton.hidden = false
        } else {
            cell.removeButton.hidden = true
        }
        
        if Player.instance == playerAtIndex {
            cell.removeButton.hidden = true
            cell.editButton.hidden = false
            cell.teamSwitch.enabled = true
