Change apps to off abrupty and save before quiting. (Fixes bug)