Fix toggling buttons and checkboxes when selecting server