add tasks persistance