Automatically save tasks to json files when one changes