Added command to replace highlighted text