set gui config from xml files