             isRequestingBiometric = true
             context.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, localizedReason: reason, reply: { (success, bioError) in
                 isRequestingBiometric = false
+                lastAuthDate = Date()
                 NotificationCenter.default.post(name: BiometricEvaluateCompletedNotificationName, object: nil)
                 if success {
                     if self.checkForModified(context: context) {

            })
        } else if let error = error {
            isRequestingBiometric = false
            NotificationCenter.default.post(name: BiometricEvaluateCompletedNotificationName, object: nil)
            if #available(iOS 11.0, *) {
                var commonError: BiometryCommonError

                    } else {
                        DispatchQueue.main.async {
                            NotificationCenter.default.post(name: BiometricEvaluateSuccessfulNotificationName, object: nil)
                            lastSuccessfulAuthDate = Date()
                            completion(success, nil)
                        }
                    }
