Removed unused style
Added styles to inserted element