Add error message on wallet import while the wallet is already open

Closes #539