Adding action for publishing data + finishing ToXml method + (the module needs to be reinstalled)