         let title = String.localizedStringWithFormat(titleFormat, selectedCellViewModels.count)
 
         let alertController = UIAlertController(title: title, message: nil, preferredStyle: .actionSheet)
-        let action1 = UIAlertAction(title: CommonStrings.notificationsCenterMarkAsRead, style: .default) { _ in
+        let markRead = UIAlertAction(title: CommonStrings.notificationsCenterMarkAsRead, style: .default) { _ in
             self.viewModel.markAsReadOrUnread(viewModels: selectedCellViewModels, shouldMarkRead: true)
             self.isEditing = false
             let identifier = UUID()

            }
        }
        
        let action2 = UIAlertAction(title: CommonStrings.notificationsCenterMarkAsUnread, style: .default) { _ in
            self.viewModel.markAsReadOrUnread(viewModels: selectedCellViewModels, shouldMarkRead: false)
            self.isEditing = false
            let identifier = UUID()

        }
        
        let cancelAction = UIAlertAction(title: CommonStrings.cancelActionTitle, style: .cancel, handler: nil)
        
        if !selectedCellViewModels.contains(where: { $0.isRead }) {
            alertController.addAction(markRead)
        } else if !selectedCellViewModels.contains(where: { !$0.isRead }) {
            alertController.addAction(markUnread)
        } else {
            alertController.addAction(markRead)
            alertController.addAction(markUnread)
        }
        alertController.addAction(cancelAction)
        
        if let popoverController = alertController.popoverPresentationController {
