private void addDownloadIdToSharedPrefs(int downloadId){
  Set<String> downloadIds=getStoredDownloadInfo(DOWNLOAD_NOTIFICATION_IDS);
  downloadIds.add(Integer.toString(downloadId));
  storeDownloadInfo(DOWNLOAD_NOTIFICATION_IDS,downloadIds);
}

private void addDownloadIdToSharedPrefs ( int downloadId ) { Set < String > downloadIds = getStoredDownloadInfo ( DOWNLOAD_NOTIFICATION_IDS ) ; downloadIds . add ( Integer . toString ( downloadId ) ) ; storeDownloadInfo ( DOWNLOAD_NOTIFICATION_IDS , downloadIds ) ; }
add download id to sharedprefs .
