Attempt to add toggle switch, not currently working.