componentDidUpdate() {
    this.focused = false;
    this.mouseDownOnButton = false;
  }
Deactivate the focused attribute in order to make sure the focus animation
only runs once when the component is focused on & not after re-rendering
e.g when the user clicks the button.