changed the style of selected text