Now let’s go on.
I’m still talking about the Tray Icon Menu.

Do the same as this image shows:

After “Pin…” or “Remove…” is clicked, the menu stays still as if nothing happened.
This could cause misunderstanding and misoperations: At this moment if one (thinks the operation failed and) does this step again on 3.txt, he is actually doing it on 4.txt now.

The menu should be refreshed instantly, or closed.