Better not modify a list in a loop
wx GUI: update properties when adding/removing items

Fixes #308