A grayed-out "Store All" icon means that there is nothing to store in the current selection.

If the "Zone" icon is grayed out, you are either not currently looking at a Zone, or you are looking at a Zone that has no moveable buildings of the selected category or categories.

If the "Kingdom" icon is grayed out, you have no buildings of the selected category or categories in the whole Kingdom that can be put away.