/// <summary>
 /// Called at shutdown to avoid leaking references.
 /// </summary>
 internal static void Cleanup()
 {
     CACHED_BUILDER.Clear();
     Instance?.Dispose();
     Instance = null;
 }
 /// <summary>
 /// Initializes and resets the last selected item.
 /// </summary>
 internal static void Init()
 {
     Cleanup();
     Instance = new AdditionalDetailsPanelWrapper();
 }