Updated switch checkboxes to communicate via a message.