Minor refactor to background color changing