Prevent double submitting settings form.
Fixes #55