Settings are saved even when the app is closed