added an average rgb check of the cropped button area