gtkui: correctly save layout upgrade flag