you can read this variable icon.isDefaultIcon . if this is true, the renderedIcon is still the rocket icon :(