Deselect object when another of the same type is selected

Define a Type in the actor class. You can use Actor/Component Tags or use Gameplay Tags.

OnClicked get the type from the clicked on actor.