func readNotifications() async {
   let center = NotificationCenter.default
   let name = Notification.Name("Update Data")

   for await notification in center.notifications(named: name, object: nil) {
      if let info = notification.userInfo {
         let type = info["type"] as? String
         if type == "Miracle" {
            print("Miracle was inserted")
         }
      }
      await MainActor.run {
         total = titles.count
      }
   }
}