Future<void> updateDoubleValue(String key, double newValue) async { final prefs = await _prefs; await prefs.setDouble(key, newValue); }