code improvement on AddDataToNewView
code improvement
AddDataToNewView: fixed a bug in run(), improved init()
AddDataToNewView: rewritten run()
AddDataToNewView: cleanup