Added functionality to save constants as datasets defined in the layout xml file