I have no problem turning my bike upside down for changing a tube. Always have, probably always will.

Catrin, you did it (mostly)! That is great. You can get a Third Hand tool from a bike shop or on line. It will hold the brake calipers together while you reattach the cable.

Practice more, it will get easier.