Added a method to select the component to change the color and stroke animation support.