Update dax_update_open_tasks

Move the saving date to actually after checking if the flagfile exists.