To me, (D) can be in the simple past tense or as suggested the past continuous. Do you know the difference between these two tenses?
I was working on my homework when she came home.
I worked my homework and then washed the dishes.
Do you see the difference? The first emphasizes that the activity of doing homework was on-going or temporary (expected to finish soon).