Fix #20 Stop the datetime updater when the document is not visible