Changed selected index

Changed code to reflect selected index in the combo box. Any item
selected that is not 'Custom' causes the custom text box to be greyed
out. When 'Custom' is selected, the user is able to type in the box.