Modification of the CheckButtonEnabled action