Write the settings file once a change is made - tends to make it more persistent ;o)