Merge "Gray out toggle if isAllowChangingState is false" into main