I would suggest simply tap on the select in this function and create another function for retrieving the value.