Fixed persistence bug in UI.