I have an app that uses an to update a value on my firebase rtdb but when i click the button it flickers the page for a fraction of a sec