XML config saving working