added checker to check if the screen is color