Future<void> updateBoolValue(String key, bool newValue) async { final prefs = await _prefs; await prefs.setBool(key, newValue); }