Updated applyNativeSelect() method