Refresh terminal instances when switching between SS and DS am: a0108ddb86

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11675379

Change-Id: I4aca49ad426195a20b2d0c0a5b19350cfabcd24a