Added condition when the style element for the specific namespace already exists it should not create the element anymore.