The eventlistener in the memory now works.