Modify the behavior  when user click the button that translates the image to gray level image