diff --git a/src/cutecoin/core/app.py b/src/cutecoin/core/app.py
index c35969481f8a9e53238c6148d7713fc25e4a74b2..697a3c53727d1e8db30995cfde8e7e7ed47010c3 100644
--- a/src/cutecoin/core/app.py
+++ b/src/cutecoin/core/app.py
@@ -109,6 +109,9 @@ class Application(QObject):
             self.current_account = None
         with open(config.parameters['data'], 'w') as outfile:
             json.dump(self.jsonify(), outfile, indent=4, sort_keys=True)
+        if self.preferences['account'] == account.name:
+            self.preferences['account'] = ""
+            self.save_preferences(self.preferences)
 
     def change_current_account(self, account):
         '''