Updating the data on the UI when the application restarts