It is using local variable to keep the list and this list comes from AccountManager service. I dont see an issue. It also does not do anything if account is already removed.