toggleTask(_:)
Minimizes the active route or restores and activates an inactive route.