The 7th Guest/Walkthrough

Your goal is to change the painting back to the human likeness of Stauf. There is a simple pattern to the way the lids parts of the painting change. When one of the corner squares is clicked, the three squares adjacent to it in the shape of a square flip from one picture to the next. Click on the square in the centre of the sides and all three squares on that side change. Clicking on the centre square flips the horizontally and vertically adjacent squares. The painting changes from the human Stauf to a Red Devil then to a Green Demon then back to the human Stauf.

Solution
As the layout of the parts of the painting is random at the start there is no set solution to the problem, but try and get the parts of the paining into a symmetrical layout as this makes it easier to change them all.