showing button in detail view controller based on book is lent or borrowed