def METHOD_NAME(self, answers: List[Dict[str, Any]]) -> None:
    has_changes = False  # True when at least one package is installed
    for item in answers:
        if item["accepted"]:
            # install and subscribe packages
            if not self._package_manager.installPackage(item["package_path"]):
                message = "Could not install {}".format(item["package_id"])
                self._showErrorMessage(message)
                continue
            has_changes = True
        else:
            self._cloud_api.unsubscribe(item["package_id"])
        # delete temp file
        try:
            os.remove(item["package_path"])
        except EnvironmentError as e:  # File was already removed, no access rights, etc.
            Logger.error("Can't delete temporary package file: {err}".format(err = str(e)))
    if has_changes:
        self._restart_presenter.present()