Use checked_func instead of remembering the checked item.