form to add preferences to table done