you could probably just add a question-type-changed event and then handle both the question-type-changed and question-creation events without having to make either of those parts of the code know about the icons