Fix a bug that mesh name cannot be modified
For now we are using setStringProperty
to change the mesh name. However,
we should directly change the name instead. A check condition is added
so that we would call the proper method.
Address issue #120 (closed) .