Is there a way to code this?

If new item is selected in listbox, then button can be clicked again. Else, button can’t be clicked.