Color Change in Object not Getting Detected

You need to use code tags mate: Using code tags properly