cleanup the php options for creating a toggle