[BUGFIX] Refactor the initialize process of IconRegistry