Change format and store tasks in list