     override func serviceExtensionTimeWillExpire() {
         // Called just before the extension will be terminated by the system.
         // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
-        NSLog("[NotificationService] Fallback case 5")
+        NSLog("[NotificationService] serviceExtensionTimeWillExpire")
         fallbackToOriginalContent()
     }
     

    func fetchEvent() {
        guard let content = originalContent, let userAccount = self.userAccount else {
            //  there is something wrong, do not change the content
            NSLog("[NotificationService] Fallback case 4")
            fallbackToOriginalContent()
            return
        }

        //  launch an initial background sync
        userAccount.initialBackgroundSync(20000, success: { [weak self] in
            guard let self = self else {
                NSLog("[NotificationService] launchBackgroundSync: MXKAccount.initialBackgroundSync returned too late successfully")
                return
            }
            self.fetchEvent()
        }) { [weak self] (error) in
            guard let self = self else {
                NSLog("[NotificationService] launchBackgroundSync: MXKAccount.initialBackgroundSync returned too late with error: \(String(describing: error))")
                return
            }
            NSLog("[NotificationService] launchBackgroundSync: MXKAccount.initialBackgroundSync returned with error: \(String(describing: error))")
            self.fallbackToOriginalContent()
        }
    }
