When collapsing the detail screen and expanding it on another line, the screen was not refreshed correctly

When collapsing the detail screen and expanding it on another line, the screen was not refreshed correctly.