Save to xml from shapecontroller