Handle editing accounts

Too bad removing and adding accounts crashes the app.