Buyer also displays progress bar on transfer

* modified the write on client side
* write from client side updates progress bar
* modified mediator to inform the gui about the progress bar

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>