Added form submit logic to enable storing config values