fix #6 removed unnecessary code and the sub type select is now shown after adding a sub type with a main type already selected