Daemons now are java Thread that run only as long as the corresponding activity is in foreground.