Fixed error in HealthKitManager