Applied event handler for Show All option on legend