     }
     
     func configure(with item: ItemType) {
-        let sortedWebcams = item.sortedWebcams()
-
+        layoutIfNeeded()
+        carousel.layoutIfNeeded()
+        
+        section = item
+        webcams = item.sortedWebcams()
+        
+        // Configure Carousel
+        carousel.reloadData()
+        
         carousel.alpha = 0
-        section = item
-        
-        task?.cancel()
-        task = DispatchWorkItem { [weak self] in
-            self?.layoutIfNeeded()
-            self?.carousel.layoutIfNeeded()
-            
-            self?.webcams = sortedWebcams
-            self?.carousel.reloadData()
-            
-            UIView.animate(
-                withDuration: 0.3,
-                delay: 0,
-                options: [.allowUserInteraction],
-                animations: { [weak self] in
-                    self?.carousel.alpha = 1
-                },
-                completion: nil)
-        }
-        
-        if let task = task {
-            DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.5,
-                                          execute: task)
-        }
+        UIView.animate(
+            withDuration: 0.2,
+            delay: 0.2,
+            options: [.allowUserInteraction],
+            animations: { [weak self] in
+                self?.carousel.alpha = 1
+                
+            },
+            completion: nil)
         
         // Configure header
-        let currentWebcam = sortedWebcams[safe: carousel.currentItemIndex] ?? sortedWebcams.first
+        let currentWebcam = webcams?[safe: carousel.currentItemIndex] ?? webcams?.first
 
         sectionImageView.image = item.image
         sectionTitleLabel.text = item.title?.uppercased()

        section = nil
        webcams = nil
        delegate = nil

        task?.cancel()
        task = nil
        
        takenFromPool.forEach { webcamView in
            webcamView.reset()
            WebcamViewPool.shared.give(view: webcamView)
        }
        takenFromPool.removeAll()

        }
    }
}
