ChooseColor null pointer partially solved