Integerating of/off switch with background.