Hook up toggling checkboxes to server calls