add class to icon element