Change the opacity of the item on click