How to turn on / off the function "Events must be closed manually"?