Adds onDestroy() for service.