I've found solution.
In fact, i merged the two listbox in one, and added a button. Clicking the button make the listbox change displaying.
The button saves the selections, as you said, before changing it's content in order to restore it when we will re-click on the it to show the first content.