In this post, the OP stated $\mathbf{Ext}^1_\mathbb Z(\mathbb Q/\mathbb Z,\mathbb Z/n\mathbb Z) = \mathbb Z/n\mathbb Z$, which is something I can't really comprehend right now. (One of the answers in the post also uses this trick without justification.) I tried calculating it by taking the injective resolution of $\mathbb Z/n\mathbb Z$, and it ends up in a sequence
$$ 0\to \mathbf{Hom}(\mathbb Q/\mathbb Z,\mathbb Q/\mathbb Z)\xrightarrow{\cdot n} \mathbf{Hom}(\mathbb Q/\mathbb Z,\mathbb Q/\mathbb Z)\to 0 $$
However, it seems that I can't really understand the term $\mathbf{Hom}(\mathbb Q/\mathbb Z,\mathbb Q/\mathbb Z)$, and I can't get to the answer $\mathbb Z/n\mathbb Z$ here.