added enabled state for checkbox