Added pin toggle.