Add popup menu onto tree viewer(delete, new version, new project, save as), update algorithm to match with requirement