Fix bug: duplicate buttons in word editor