How to move one item from one UI list to another UI list using bool property?

Hi Blender Community,
i was trying to implement a feature to my addon where i can move the string property from one UI list to another list using boolean property

for example if the bool is true in the above picture it must be moved to another list and should be taken back if the user changes the bool value in the second list.

thanks in advace…