You can use onItemReady to set the functionality for each item in the repeater
https://www.wix.com/velo/reference/$w/repeater/onitemready
You can use this to change the color of the item that has been clicked (remember to also change the color of the one previously selected back to unselected