As NN81 said, the easy way is everytime that launch the game, check if you have the value X on the local storage, if not.. it will show prompts.. and when this prompts shows you will fill this value X on the local storage, it means that next time it will not show prompts again.