IDEX-638: Refactor menus

Refactoring of File-New menu