         @buttons.push @add
         @addChild @add
 
-        @presets = new MenuButton AppData.ASSETS.sprite.textures['ic-presets-48.png'], 'patches'
+        @patches = new MenuButton AppData.ASSETS.sprite.textures['ic-presets-48.png'], 'patches'
+        @patches.buttonClick = =>
+            @openSubmenu 2
+            null
+        @buttons.push @patches
+        @addChild @patches
+
+        @presets = new MenuButton AppData.ASSETS.sprite.textures['ic-presets-48.png'], 'presets'
         @presets.buttonClick = =>
-            @openSubmenu 2
+            @openSubmenu 3
             null
         @buttons.push @presets
         @addChild @presets
 
         @midi = new MenuButton AppData.ASSETS.sprite.textures['ic-midi.png'], 'midi'
+        @midi.visible = false
         @midi.buttonClick = =>
-            @openSubmenu 3
+            @openSubmenu 4
             null
         @buttons.push @midi
         @addChild @midi

        @tabs.push new LoginPannel('login')
        @tabs.push new AddPannel('add component')
        @tabs.push new PatchesPannel('patches')
        @tabs.push new MidiPannel('midi devices')

        for i in [0...@tabs.length]


    openSubmenu: (index) =>
        @selectIndex = index
        console.log 'open submenu', index
        @highlightMenu()

        # hide all tabs and show only the current
