How do I keep sidebar customized?

image
Hello,
I met a problem,When i open a file that i saved before,
Some times sidebar were customized,
But sometimes doesn’t, it just go back to default setting.
like this↓
image

It’s really annoying…

I searched,but i didn’t find any solution.
Maybe someone knows how to solve this problem?