Added button to save settings.
Fixes #47.