change the fonction to get the default value of comboBox