Got Firebase triggered page reloading working