Started working with polylines

Issue: Old polylines does not disappear.