MOB-1716 update the settings screen and fix bugs when the last account is deleted, or only one account remains.