fixed logic to default selectStyle to checkbox