click on list updates the textbox value