Add toggle switch for createCase