updateLeftPanel (button) {
    if (button.disabled) return false
    // remove the pressed state on other(s) button(s)
    $qa('#tools_left *[pressed]').forEach((b) => {
      b.pressed = false
    })
    // pressed state for the clicked button
    $id(button).pressed = true
    return true
  }
This is a common function used when a tool has been clicked (chosen).
It does several common things:
- Removes the pressed button from whatever tool currently has it.
- Adds the the pressed button  to the button passed in.
@function this.updateLeftPanel
@param {string|Element} button The DOM element or string selector representing the toolbar button
@returns {boolean} Whether the button was disabled or not