        indexItem = itemIndex;

        for (var i = 0; i < types.length; i++) {
            type = types[i];

            fn.setActiveGroup();
            fn.setActiveChildren();
            fn.setActiveItems();
            fn.putActiveClass();
        }

        memory[groupIndex] = [];
        memory[groupIndex][itemIndex] = true;

        try {
            localStorage.setItem('tabbis', JSON.stringify(memory));
        } catch (e) {
            console.log('Tabs local storage failed. Mo