Refactored book detail view to use view model.