Well that was the one piece I was missing, your code worked perfect and the selected_measure_ids persist now. The only issue at this point is the lack of a way to specify the data type of the rows, however if we are willing to push this issue aside then I will push my changes which change the storage location over to the preferences hash.