added compatibility of displaying book from both coredata and searchedbooks