             self.setNotificationView(with: category)
         }
         notificationView.cancelDidTap = {
-            self.deselectItem()
-            self.hideNotificationView()
+            self.hideNotification()
         }
         notificationView.sendDidTap = {
             NotificationPermission.shared.requestPermission { [weak self] success in

        self.presenter?.showNotification(from: category, isGrayScale: isGrayScale)
    }
    
    private func setupCallbacks() {
        
        delegate.categorySelected = { [unowned self] (category, indexPath) in

    
    private func showHideNotificationView(with height: CGFloat) {
        
        DispatchQueue.main.async {
            self.bottomConstraint.constant = height
            self.tableViewBottomConstraint.constant = height == 0 ? self.notificationView.bounds.height : 0
            UIView.animate(withDuration: 0.3) { self.view.layoutIfNeeded() }
        }
    }
    
    private func deselectItem() {
        
        guard let indexPath = lastIndexPathSelected else { return }
        
        DispatchQueue.main.async {
            self.tableView.deselectRow(at: indexPath, animated: true)
        }
    }
    
    private func showAlertToAllowNotification() {
