[Refactoring] Reworked refactoring context menu in the editor.