Help with my application

Hi everyone.
I tell you the application that I am developing is oriented to a gas station, it is not something very complex, what I want is that when entering the values ​​of daily gallons sold and upload them to Google’s firebase, then this will get me the total sale then to enter the data, I already made the app, but there is a problem, it sometimes works and sometimes it does not, sometimes it works with small or large amounts and sometimes it does not work, I generated the apk, in no way did it work, it does not generate any result.
Captura1 Captura2 Captura3