What you want to do in this case is have the button trigger a microflow. In that microflow you retrieve all the objects that you also show in the page. Then you loop through all the objects and change the value of the checkbox attribute. Then you end the microflow with commiting that list and refreshing the objects.
Hope this helps.