Save the configuration after storing all values.