add function to PickerViewController to display selected text