If you gracefully exit it should save fine. If it abnormally terminates (i.e. computer crashes) it won't save your config. How are you closing the software?