Patched a flaw where a updated config is not written.

Signed-off-by: Hendrik 'Xendo' Meyer <butterkekstorte@users.noreply.github.com>