when the date changes and the app restarts, it refreshes all the activities