             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) {

    public static var isBiometryAvailable: Bool {
        get { return biometryAvailableType() != .none }
    }
    
    public static func biometryAvailableType() -> BiometryType {
        let context = LAContext()

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