set card_type with dropdown select