make selectedFormMap consistent with status of checkbox