use toggle switch to save states in combined parameter wrapper