You changed the name of the function in addEventListener but not in removeEventListener.