Prova così:

codice:
addMenu_btn.onPress = function()
{
	tuo_tree.selectedNode.attributes.label = 'ciao';
};