Bug 1032651 - [Gaia] CMAS on/off toggle in Settings

Suggest to pass the value that you would like to store as a parameter. Which would make the function less dependent on the check box.