Fixed the saving of the check box values.