Fix navigation bar color change "on the fly"