Fixed a bug where changes to a layout where store in the app config