Oops, I did it again

I have a quirk, it happens.

When cruising along modeling stuff, on occasion I will leave my cursor over my Outliner, then go to call up a new mesh, then it happens. Shift A expands all items in the Outliner. There does not seem to be any forgiveness in this error, like Ctrl. Z. I just have to collapse all the items one by one, no big deal, just annoying.

Do anyone have a magic correction button?