May someone please verify my following proof?
For isomorphism $\phi: G\to H$ of the two groups $G$ and $H$, prove that $G$ is abelian iff $H$ is abelian.
Proof: (assume $G$ is abelian) Let $h_{1},h_{2}\in H$. Since $\phi$ is bijective, $\phi$ is onto. Then there exist $g_{1},g_{2}\in G$ such that $\phi (g_{1})=h_{1}$ and $\phi (g_{2})=h_{2}$ for all $h_{1},h_{2}\in H$. Then $h_{1}h_{2}=\phi (g_{1})\phi (g_{2})=\phi (g_{1}g_{2})$ (operation preserving) $=\phi (g_{2}g_{1})$ ($G$ is abelian) $=\phi (g_{2})\phi (g_{1})$ (operation preserving) $=h_{2}h_{1}$. Then $H$ is abelian.
(assume $H$ is abelian) Let $g_{1},g_{2}\in G$. Since $\phi$ is bijective, the inverse $\phi ^{-1}:H\to G$ exists and is onto. Then there exist $h_{1},h_{2}\in H$ such that $\phi ^{-1}(h_{1})=g_{1}$ and $\phi ^{-1}(h_{2})=g_{2}$ for all $g_{1},g_{2}\in G$. Then $g_{1}g_{2}=\phi ^{-1} (h_{1})\phi ^{-1}(h_{2})=\phi ^{-1}(h_{1}h_{2})$ (operation preserving) $=\phi ^{-1}(h_{2}h_{1})$ ($H$ is abelian) $=\phi ^{-1}(h_{2})\phi ^{-1}(h_{1})$ (operation preserving) $=g_{2}g_{1}$. Then $G$ is abelian. $\square$