made the foreground service more solid + added a way to exit it manually