Past Simple or Past Continuous

You need to choose the correct past simple or past continuous forms to complete these sentences.

Exercises:
He
his bike when he
off.
We
home when we
a rainbow.
He
his bag, after that he
the house.
I
TV when my phone
.
She
her homework, then
TV.
She
her leg while she
.
I
you because I
to music.
He
very fast when he
an accident.
I
a shower, so I
the door.
The sun
when we
the house.