Click on an image to change category