restart app works correctly, quit buttons quits the app, auto submit correctly synched with prefs