storing term when item for dropdown is picked