deluge does not save settings

If this happens, you can edit the settings files directly from ~/.config/deluge by editing the files web.conf and core.conf