Updating reference count when adding/removing references

(bug 55891)
Listening to the events of the listview widget managing the referenceview widget instead
of listening to the inappropriate referenceview events.

Change-Id: I0c0b72ad12a7bcdfff742a35532c476cbc0ca329