Add a comment
// TODO: Call AppWindow.setState and AppWindow.getState instead of setting/getting the attribute directly in shrinking UI.