UserDefaults.standard.set(Date(), forKey:"creationTime1")
if let date = UserDefaults.standard.object(forKey: "creationTime1") as? Date {
if let diff = Calendar.current.dateComponents([.hour], from: date, to: Date()).hour, diff > 24 {
keys.setNewTokenValue()
}
}