Flags flew at half-mast across Stockholm on Saturday as the city slowly returned to normal a day after a truck attack that killed four people, as police said they had the suspected driver in custody.