Fix Search Book bug:

1. handle receiving null result from server
2. fix scan code search trigger exception