Fixing the syntax needed to restrore the state of check boxes. Using Checked instead of selected.