Correct categories (labels+values) shown in Statistics tabs

in both tabs: "Details", "Analyze"
(before, all the categories were hard-coded, predefined for all
variables )