adds the generated activity when pressing the calculate all