Fixed event listener bug with cookies, added function within event listener code to allow repeated trials, and added slides for transition from training, to warmup, to main task