fix issue 217 (crash when predict button is clicked twice).
Resolves #217 (closed), #221 (closed)
The possible out-of-sync state of _peak_graphics_items maybe should lead to further refactoring, e.g. replace this list by querying the existing scene items.