Disable/Enable Cortex Cookie

Add the function of disabling or enabling cortex cookies via changing the status of checkboxes. fixes  #1