Now automatically sets foreground when background is changed.