On first installation we ask user to username.
After submission we store value of it in tinyDB as user TAG.
And Store username as a TAG in firebase database with value of time when button clicked.
We have used here clock component to get current time in UNIX TIME format.
UNIX TIME is time in second from 1 January 1970.
Every time user clicks we store time value by adding 86400 ( second in one day) in firebase database.
When user enters again in app we ask tinyDB to user tag if there is value it is invisible else it will be visible and store we compare time is greater than it?
If yes button enabled else disabled.