package com.novoda.downloadmanager.demo;

import android.app.Application;
import android.os.Handler;
import android.os.Looper;

import com.facebook.stetho.Stetho;
import com.novoda.downloadmanager.DownloadsPersistence;
import com.novoda.downloadmanager.FileDownloader;
import com.novoda.downloadmanager.FileSizeRequester;
import com.novoda.downloadmanager.DownloadManagerBuilder;
import com.novoda.downloadmanager.LiteDownloadManagerCommands;
import com.novoda.downloadmanager.NotificationCreator;

import java.util.concurrent.TimeUnit;

public class DemoApplication extends Application {

    private volatile LiteDownloadManagerCommands liteDownloadManagerCommands;

    @Override
    public void onCreate() {
        super.onCreate();
        Stetho.initializeWithDefaults(this);
        createLiteDownloadManager();
    }

    private void createLiteDownloadManager() {
        FileSizeRequester fileSizeRequester = new CustomFileSizeRequester();
        FileDownloader fileDownloader = new CustomFileDownloader();
        DownloadsPersistence downloadsPersistence = new CustomDownloadsPersistence();
        NotificationCreator notificationCreator = new CustomNotificationCreator(this, R.mipmap.ic_launcher_round);

        Handler handler = new Handler(Looper.getMainLooper());

        liteDownloadManagerCommands = DownloadManagerBuilder
                .newInstance(this, handler, R.mipmap.ic_launcher_round)
                .withFileDownloaderCustom(fileSizeRequester, fileDownloader)
                .withFilePersistenceExternal()
                .withFilePersistenceCustom(CustomFilePersistence.class)
                .withDownloadsPersistenceCustom(downloadsPersistence)
                .withNotification(notificationCreator)
                .withNetworkRecovery(false)
                .withCallbackThrottleCustom(CustomCallbackThrottle.class)
                .withCallbackThrottleByTime(TimeUnit.SECONDS, 3)
                .withCallbackThrottleByProgressIncrease()
                .build();
    }

    public LiteDownloadManagerCommands getLiteDownloadManagerCommands() {
        return liteDownloadManagerCommands;
    }
}

@@ -202,338 +202,85 @@
 load
-sPersistence;%0Aimport com.novoda.downloadmanager.FileDownloader;%0Aimport com.novoda.downloadmanager.FileSizeRequester;%0Aimport com.novoda.downloadmanager.DownloadManagerBuilder;%0Aimport com.novoda.downloadmanager.LiteDownloadManagerCommands;%0Aimport com.novoda.downloadmanager.NotificationCreator;%0A%0Aimport java.util.concurrent.TimeUnit
+ManagerBuilder;%0Aimport com.novoda.downloadmanager.LiteDownloadManagerCommands
 ;%0A%0Ap
@@ -626,1104 +626,195 @@
     
-FileSizeRequester fileSizeRequester = new CustomFileSizeRequester();%0A        FileDownloader fileDownloader = new CustomFileDownloader();%0A        DownloadsPersistence downloadsPersistence = new CustomDownloadsPersistence();%0A        NotificationCreator notificationCreator = new CustomNotificationCreator(this, R.mipmap.ic_launcher_round);%0A%0A        Handler handler = new Handler(Looper.getMainLooper());%0A%0A        liteDownloadManagerCommands = DownloadManagerBuilder%0A                .newInstance(this, handler, R.mipmap.ic_launcher_round)%0A                .withFileDownloaderCustom(fileSizeRequester, fileDownloader)%0A                .withFilePersistenceExternal()%0A                .withFilePersistenceCustom(CustomFilePersistence.class)%0A                .withDownloadsPersistenceCustom(downloadsPersistence)%0A                .withNotification(notificationCreator)%0A                .withNetworkRecovery(false)%0A                .withCallbackThrottleCustom(CustomCallbackThrottle.class)%0A                .withCallbackThrottleByTime(TimeUnit.SECONDS, 3)%0A                .withCallbackThrottleByProgressIncrease(
+Handler handler = new Handler(Looper.getMainLooper());%0A%0A        liteDownloadManagerCommands = DownloadManagerBuilder%0A                .newInstance(this, handler, R.mipmap.ic_launcher_round
 )%0A  

Use just default DM.