Selecting an item from the list now copies the text to the edit fields