Sentence:  <WSD>Then</WSD> , getting back into bed , he thought unashamedly of Mrs. Flannagan , planning where they would next meet and what they would do . 
Meaning of the word marked with <WSD> tags:  at that time