If user chooses a dataset, return the list element, rather than the name