def METHOD_NAME(self, *_args):
    speed_limit = self.speed_spinner.get_value_as_int()
    if speed_limit == config.sections["transfers"][f"{self.transfer_type}limit"]:
        return
    config.sections["transfers"][f"{self.transfer_type}limit"] = speed_limit
    update_transfer_limits = getattr(core.transfers, f"update_{self.transfer_type}_limits")
    update_transfer_limits()