getActivity fix and book retrieval and logic fix
 Please enter the commit message for your changes. Lines starting