Just press the flag. You can change colors of the blocks by lifting the mouse onto the square/ rectangle.