Hidden $O(2)$ and $SO(2)$ Symmetry in Lepton Mixing