Refactor _getHtmlOptions into _populateSelectBox