Added deselect button at index method