Write last checked date to file

On exit, write a file containing last checked date, to avoid checks
every time the app is launched