Reuse Refactor menu and set focus to active document after refactoring

Internal rename menu item is still hidden.