diff --git a/src/cutecoin/core/wallet.py b/src/cutecoin/core/wallet.py
index 0254e61bc5ca0b41adfc2c3a08ab5f1789a81b82..289ad54862551f0d72948812fddb36a54a764e5e 100644
--- a/src/cutecoin/core/wallet.py
+++ b/src/cutecoin/core/wallet.py
@@ -10,6 +10,7 @@ from ucoinpy.documents.transaction import InputSource, OutputSource, Transaction
 from ucoinpy.key import SigningKey
 from ..tools.exceptions import NotEnoughMoneyError
 import logging
+import base64
 
 
 class Wallet(object):
@@ -117,9 +118,9 @@ class Wallet(object):
             key = SigningKey("{0}{1}".format(salt, self.walletid), password)
         logging.debug("Sender pubkey:{0}".format(key.pubkey))
 
-        signing = key.signature(bytes(tx.raw(), 'ascii'))
-        logging.debug("Signature : {0}".format(str(signing.signature)))
-        tx.signatures = [str(signing.signature, 'ascii')]
+        signing = base64.b64encode(key.signature(bytes(tx.raw(), 'ascii')))
+        logging.debug("Signature : {0}".format(signing.decode("ascii")))
+        tx.signatures = [signing.decode("ascii")]
         logging.debug("Transaction : {0}".format(tx.signed_raw()))
         community.post(bma.tx.Process,
                         post_args={'transaction': tx.signed_raw()})
diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py
index a583b69bdb5c00dadb059ef735663a9b32e3ac5c..46ba336e93ffa5f654cace9ca7be11306aaf9fb6 100644
--- a/src/cutecoin/gui/mainwindow.py
+++ b/src/cutecoin/gui/mainwindow.py
@@ -53,6 +53,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
         dialog.accepted.connect(self.refresh_wallets)
         dialog.exec_()
 
+    def refresh_wallets(self):
+        currency_tab = self.currencies_tabwidget.currentWidget()
+        currency_tab.refresh_wallets()
+
     '''
     Refresh main window
     When the selected account changes, all the widgets