Fixed activated and deactivated of durable topic subscription in UI.

"hasExternalSubscriptions" represents whether a durable topic is active or not.