resolveSelectedCategory
Keeps selection only while the category is still present and non-empty.
Receiver
Ordered usage rows currently rendered by a storage or network screen.
Author
Dmitriy Moroz
Parameters
preferred
Previously selected category, or null when the donut should show total.