Fix bug in ad implementation that leaked a BroadcastReceiver