How can i toggle some action after fetching the data from Firebase? I want to reload the tableview after the firebase data is fetched. Now i am using the delay function for