Add the current state of the drawing program.