Adding clear button to pathpainter

Change-Id: I9fbd2f9e5483e5567156f814cd5e03fced711b78
diff --git a/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopov.js b/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopov.js
index baaaef9..300bd44 100644
--- a/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopov.js
+++ b/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopov.js
@@ -47,7 +47,7 @@
 
     function clear() {
         wss.sendEvent(clearMessage);
-        flash.flash('Source node: ' + node.id);
+        flash.flash('Cleared source and destination');
     }
 
     function setSrc(node) {
@@ -79,7 +79,6 @@
         wss.sendEvent(prevPathMessage);
     }
 
-
     function setMode(mode) {
         if (currentMode === mode) {
             $log.debug('(in mode', mode, 'already)');
diff --git a/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopovOverlay.js b/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopovOverlay.js
index c72fbda..d0368a7 100644
--- a/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopovOverlay.js
+++ b/apps/pathpainter/src/main/resources/app/view/ppTopov/ppTopovOverlay.js
@@ -210,9 +210,16 @@
                 tt: 'Highlight next path',
                 gid: 'nextIntent'
             },
+            0: {
+                cb: function () {
+                    pps.clear();
+                },
+                tt: 'Clear source and destination',
+                gid: 'xMark'
+            },
 
             _keyOrder: [
-                'openBracket', 'closeBracket', '3', '4', '5', '6', 'leftArrow', 'rightArrow'
+                'openBracket', 'closeBracket', '3', '4', '5', '6', 'leftArrow', 'rightArrow', '0'
             ]
         },