implemented persistent gui config