Dimer with gain and loss : Integrability and-symmetry restoration