I came across a proof I do not seem to understand fully, a screenshot is provided below.

my concerns are the following:
- Why does the fact that $||T||_2 = ||UT||_2$ for every unitary U, allow us to use a second basis $f_j$ in the definition: $||T||_2 ^2 = \sum{|\langle e_i , Tf_i \rangle|^2}$ of the Hilbert-Schmidt norm?
- How exactly does one get from line 1 to line 2: $$ \sum \big| \langle e_i, (A^2+B^2+2AB)f_j \rangle \big|^2 = \sum (\alpha_i ^2 + \beta_j ^2 - 2\alpha_i\beta_j)^2 \big |\langle e_i,f_i \rangle \big|^2$$ in particular, I seem to have problems with the indices $i$ and $j$.
- Why is the basis ${f_j}$ necessary? couldn't one do the proof only using ${e_j}$. Since $f_j$ does not occur in the choosing of: $Ae_j = \alpha_j e_j$ and $Be_j = \beta_j e_j$