Bug fix. Update the Menu synchronously, after hiding or showing commands, since menu never animates commands hiding or showing.