PopupMenu::addItem().setAction() issue

For the “re-selection” problem:

I think it should be a default behaviour, just for the reasons you mentioned.