Display the value of the pixel when the pixel is clicked