Switch boolean flag.