Future<void> updateIntValue(String key, int newValue) async { final prefs = await _prefs; await prefs.setInt(key, newValue); }