Fixed bug in settings form.