func postNotification(message: String) async {
   let authorization = await center.notificationSettings()
   if authorization.authorizationStatus == .authorized {
      let content = UNMutableNotificationContent()
      content.title = "Reminder"
      content.body = message
      content.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: "alarm.mp3"))

      let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 10, repeats: false)
      let id = "reminder-\(UUID())"
      let request = UNNotificationRequest(identifier: id, content: content, trigger: trigger)

      do {
         try await center.add(request)
      } catch {
         print("Error: \(error)")
      }
   }
}