more layout and app state changes