change misnamed ids for layouts.
give dynamically populated checkboxes ids so they can retain state on orientation flips.