@Override
  public void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.result_module);
    setupCrossfade();

    mPrefs = PreferenceManager.getDefaultSharedPreferences(this);

    title = (TextView) findViewById(R.id.module_title);
    filename = (TextView) findViewById(R.id.module_filename);
    info = (TextView) findViewById(R.id.module_info);
    instruments = (TextView) findViewById(R.id.module_instruments);
    license = (TextView) findViewById(R.id.module_license);
    licenseDescription = (TextView) findViewById(R.id.module_license_description);
    sponsorText = (TextView) findViewById(R.id.module_sponsor);

    downloadButton = (Button) findViewById(R.id.module_download);
    downloadButton.setEnabled(false);

    deleteButton = (Button) findViewById(R.id.module_delete);
    deleteButton.setEnabled(false);

    playButton = (Button) findViewById(R.id.module_play);
    playButton.setEnabled(false);

    errorMessage = (TextView) findViewById(R.id.error_message);
    dataView = findViewById(R.id.result_data);

    downloader = new Downloader(this);
    downloader.setDownloaderListener(this);

    final long id = getIntent().getLongExtra(Search.MODULE_ID, -1);
    Log.d(TAG, "request module ID " + id);
    makeRequest(String.valueOf(id));
  }
  public void downloadClick(final View view) {
    final String modDir = getDownloadPath(module);
    final String url = module.getUrl();

    Log.i(TAG, "Download " + url + " to " + modDir);
    downloader.download(url, modDir, module.getBytes());
  }