Cleaned up checkbox handling in the configuration form.