GUI2: refactoring when adding results