Changed the service to a foreground service