How to display premium content after purchase?



Please help me.

I’m creating a project which has two content, one for free user and another can only be accessed by a premium user (who pays for premium content).

But before this, I want to check whether in-app billing (built in component of appybuilder) works fine for me. Hence, I created a test project. Here are blocks used:

The above blocks are working fine. The only problem is, after a successful purchase, immediate to it, the user needs to click twice on purchase to see premium content. How to fix this issue?
Why is it asking the user to click twice?