calling /votes/controlled when the checkbox is changed