added preference xml gui