Im trying to update the data shown on my app every time I open it, the data is coming from AWS S3 bucket, I have used AppState to detect if the app is active or in backgroun