@Override public void onDestroy() { if (podcastPlayer.isPaused() && podcastPlayer.getService() != null) { podcastPlayer.getService().stopSelf(); } }