title: Do something depending on the observable
body: <pre><code>  // HTML
    &lt;button class='btn btn-success uppercase btn-lg active' data-bind="click: showVideoTool, css: {active: activeVideoTool}"&gt;Video Tool&lt;/button&gt; 
  
    // Javascript
    self.showVideoTool = function() {
      // Checking if the value is true then make it false
      if (self.activeVideoTool == true) {
        self.activeVideoTool(false);
      } else {
        self.activeVideoTool(true);
      }
    }
    self.activeVideoTool = ko.observable();
  </code></pre>
  
  <p>As you see the code, I want to capture the current value of the activeVideoTool observable in order to know if I will make it <code>true</code> or <code>false</code></p>
  
  <p>I must be doing something wrong here. Can anyone shed some light on this?</p>