New version [Only registered and activated users can see links. ]

@NikosSkouteris
I have fixed ( AFAIK...) the bug occurring when changing the status of a polyline (activity-->no activity or no activity-->activity)
and I have tried to apply your suggestions.

Please tell me if it works for you.