I had lost "action=CloseTask"

I had lost "action=CloseTask"

I had modified the field of activities, and I had lost the automatic switch of "action=CloseTask".

When I close my activity, it remains in my open activities.

How can I restore the function?

Thanks

Pasquale Bondanese