Transfer menu item option to new wiki menu item during replacement
Fix wiki menu item replacement in the case no new main item is selected