Click to transform a shape to another one