optimize(ex2): remove global variable colorPickerApp