@Override
 public void onBackPressed() {
   if (mTask != null) {
     mTask.cancel(false);
   }
   super.onBackPressed();
 }
 @Override
 protected void onDestroy() {
   try {
     if (mTts != null) {
       mTts.shutdown();
     }
   } catch (Exception e) {
     PrivateException ex = new PrivateException(e, DaisyReaderDownloadSiteActivity.this);
     ex.writeLogException();
   }
   super.onDestroy();
 }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_download_site);
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    getSupportActionBar().setTitle(R.string.download_sites);

    mListViewWebsite = (ListView) findViewById(R.id.list_view_website);
    initListWebsite();
    WebsiteAdapter websiteAdapter = new WebsiteAdapter(listWebsite, getLayoutInflater());
    mListViewWebsite.setAdapter(websiteAdapter);

    // set listener while touch on website
    mListViewWebsite.setOnItemClickListener(onItemWebsiteClick);
  }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_download_books);

    mTextSearch = (EditText) findViewById(R.id.edit_text_search);
    mLink = getIntent().getStringExtra(Constants.LINK_WEBSITE);
    String websiteName = getIntent().getStringExtra(Constants.NAME_WEBSITE);

    mSql = new SQLiteDaisyBookHelper(DaisyReaderDownloadBooks.this);
    mSql.deleteAllDaisyBook(Constants.TYPE_DOWNLOAD_BOOK);
    createDownloadData();
    mlistDaisyBook = mSql.getAllDaisyBook(Constants.TYPE_DOWNLOAD_BOOK);
    mDaisyBookAdapter = new DaisyBookAdapter(DaisyReaderDownloadBooks.this, mlistDaisyBook);
    ListView listDownload = (ListView) findViewById(R.id.list_view_download_books);
    listDownload.setAdapter(mDaisyBookAdapter);
    listDownload.setOnItemClickListener(onItemClick);
    mListDaisyBookOriginal = new ArrayList<DaisyBookInfo>(mlistDaisyBook);

    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    getSupportActionBar().setTitle(websiteName.length() != 0 ? websiteName : "");
  }
 @Override
 protected void onResume() {
   super.onResume();
   speakText(getString(R.string.download_sites));
 }
 @Override
 protected void onResume() {
   super.onResume();
   handleSearchBook();
 }