Logic for displaying Borrow/Return button.