Background color of book card changes depending on category