TouchBar keeps reopening when you already closed it by clicking on the X button + Battery Widget bug

When opening the BTT on the TouchBar and closing it by clicking on the Close "X" button on the left side of the bar the BTT opens again every time you change to another app. The same doesn't happen when closing the bar by clicking on the BTT icon located on the control strip.

Also, there's a bug on battery widget that removes the space between the battery icon and the percentage text.