I'm getting attached error. When I run the project from Android Studio it runs fine. But after exiting the application and opening it again after few minutes the error comes back. Test it by going into the settings and force stopping the application.