Symmetry of a hydrogen atom in a weak magnetic field