Word count and target does sync

Such a minor issue but the word count doesn’t seem to work when I’m writing in sync. So, setting the word count to restart at midnight doesn’t kick in at midnight. I presume this is because I’ve got text I’m working on in via the app. Anyone have a solution?