Made ebook toggle automatically refresh the search page