Quit the application -- in this case, snap-store (a.k.a. Ubuntu Software). Since snap-store auto-starts upon login, you might not recall that you have it open...but you do.
Closing the window is not enough to terminate the application.
One way: On the command line, run snap-store --quit
Another way: Open Ubuntu Software, look at the top bar, find "Ubuntu Software" on the left side of the top bar. Click it, and select "Quit".
Run sudo snap refresh. Let the command complete.
If, instead of a refresh, you still get a pop-up that the application needs to be refreshed, then run sudo snap refresh firefox.
The output of that command will return the PID causing the block.
Use kill <pid> to remove the block.
Run sudo snap refresh again. This time it should work.
It's now safe to re-launch your application.