whiteboard tools now stay selected after hitting undo

Whiteboard tools used to get deselected when you pressed undo or clear. I've reworked the handler so that the tools no longer deselect.