Changing console variables is not good. If you'll set ShowFlags.Tonemapper to 0 or 1, then it will be either enabled or disabled, and checkbox in viewport's...