fixed bug when editing the new test type 'activity'