1. A non-transitory machine readable medium storing a program for performing a color balance operation on color values of an image represented in a color space, the program for execution by at least one processing unit, the program comprising sets of instructions for: detecting a plurality of faces on a displayed image utilizing a face detection algorithm; selecting a first detected face from the plurality of faces; performing a color balance operation on the image based on a set of color values of a pixel on the first detected face; displaying the color balanced image with a movable user interface (UI) item on the first detected face in order to identify that the color values of the first detected face are the color values used for the color balance operation, said UI item movable to a second different face in the plurality of faces in order to modify the color balance operation that is performed on the displayed image; receiving a movement of the UI item from the first detected face to the second detected face on the displayed image; and performing a second color balance operation on the image comprising said plurality of faces based on a second set of color values of a pixel on the second detected face.