Added animations when the ButtonPanel become visible
Modified the panel so that is possible to directly associate a submenu to a button