saving drawing to xml and saving to cloud