Choose the correct alt.
Mary was thinking/had been thinking about going to Hawaii to visit her sister, so when she had lost/lost her job, she immediately called/had called her sister to let her know and then was booking/booked her flight.
Mary had been thinking about going to Hawaii to visit her sister, so when she lost her job, she immediately called her sister to let her know and then booked...