I want to start ScheduledExecutorService on resume of application and want to stop on pause of application.
I only found solution by detecting acivities running statu