public void createNewJar()
    {
        GameObject newJar        = Instantiate(jarPrefab);
        JarManager newJarManager = newJar.GetComponent <JarManager>();

        newJarManager.mainPanel = mainPanel;

        newJarManager.storage    = storage;
        newJarManager.traitDB    = storage.traitDB;
        newJarManager.propertyDB = propertyDB;

        newJarManager.initializeJar();

        newJarManager.jarUIManager = tabManager.createNewJarUI();
        newJarManager.instatiateUIConnections();

        newJarManager.addFliesManager    = addFliesManager;
        newJarManager.flySelectorManager = flySelectorManager;

        newJarManager.jarCustomizerManager = jarCustomizerManager;

        newJarManager.dialoguePopup = dialoguePopup;
    }