do not allow to delete last account
make sure, we set current account, prevents it being set to a deleted account
setcurrentaccount takes care of updating preferences