Add printing function to bookshelf when users click to items