Added support for disabled checkboxes

Prevents toggle switch from changing if checkbox is disabled.