Settings are saved when brackets are closed.
Merge pull request #3 from zaggino/master

Settings are saved when brackets are closed.