Making empty variable empty and then setting the value from firebase

Please help me to know what is the error.

i want to reset the value of stored value once the page start and then set the value from firebase or is there any other option to use to data change from db

Hey @videshi.in.germanydr,

Have you considered using a Cloud variable for this instead?

I find that they are much easier to work with.