Save/load settings upon exiting/entering app.