Windows: Updated SyncMenu implementation after replacing OnSelectItem/OnRemoveItem by OnSelectItems/OnRemoveItems in the last commit.

Related to issue #422.