Add toggle function to bind to angular checkboxes
Correct bug in share patient info checkboxes