Removes repeated callback in toggle