rename generate map to reset map after clicking