The tapSelectOption function is duplicate code, right?