Add a func "saveBooks".
Save all books to SharePrefrerence.