When Madge and Betty are exchanging catty remarks in Brandon's office, the item Madge is holding changes between a folder and a flip-open notebook or calendar between shots.
Being that Brandon & Madge were that close, when Betty informed Barry about the party she was giving for him, he would have told Madge about the change of plans. Instead, at the party, Barry remembers he had a previous date planned with Madge.