FIXBUG where the wrong category was choosen

the trial_number hast to be decreased, too