Start game/load, have some items of different categories.
Toggle categorized mode on the resource readout.
Expand some of the categories there.
Save game and quit to OS.
Restart game, load savegame.
=> all item categories are collapsed and you have to reopen them again if you want to see them.
My suggestion would be to store them in the savegame somehow.