Fix crash on tap to open menu
Wipe out memory and decrement the memory neuron counter as memory neurons are put to sleep