Change in mehtod getSelectOptions foreach loop to set select options