added option to clear all highlighted paths when clicking on the background