This method is called after the preferences menu item, and before the replace item is inserted into the edit-menu.