Displaying the elements with the right style in the style selector