Fix configuration saving
Merge pull request #34 from pnagy/master

Fix configuration saving