Manipulating the nematic director by magnetic fields in the spin-triplet superconducting state of CuxBi2Se3