optimize(ex3): remove global variable colorPickerApp