Show extend button only when extendable

* Only shows one week before the ending of the loan
* Can only be extended once