def stop_cb(self, widget):
        # Stop the animation loop.
        if self.update_timer:
            try:
                GObject.source_remove(self.update_timer)
            except:
                pass # Try remove instance, if not found, just pass