ui: contrast_mode: make bool not be nil

part of [#61132882]