Added grayscale button and function