Fixed a bug when showing last page. Added download in the background.