Flickering is a problem with client side AB testing. There are a few strategies that you can take. One is to make the loading of GrowthBook a blocking call (not ideal). Another is to hide the button initially (or whole page), and show the button (or page) only after the variations load.