Combine code for selectPickerViewRowWithTitle and selectDatePickerValue