     func showNotification(from category: Category, with image: UIImage) {
         
         notification.show(from: category, with: image)
+        hideNotification()
     }
     
     func lockUI() {

            self.setNotificationView(with: category)
        }
        notificationView.cancelDidTap = {
            self.deselectItem()
            self.hideNotificationView()
        }
        notificationView.sendDidTap = {
            NotificationPermission.shared.requestPermission { [weak self] success 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() {
