         
         if chosenRooms.count == maxNumRooms {
             tableView.reloadData()
-            selectchosenRooms()
+            selectChosenRooms()
         }
         
         delegate?.updateSelectedRooms(for: chosenRooms)

            currentSort = sortHeaders(for: Array(buildings.keys))
            self.showEmptyViewIfNeeded()
            tableView.reloadData()
            selectchosenRooms()
            return
        }
        


// Mark: - room Selection
extension RoomSelectionView {
    public func selectChosenRooms() {
        for room in chosenRooms {
            if let index = getCurrentIndex(for: room) {
                tableView.selectRow(at: index, animated: false, scrollPosition: .none)
