selection_toolbar is static to the object. It does not need to be updated. Make the variable private.