replaced the current share button with a toggle on/off switch