Add learning recipe to the map and add knowing tree protection