improve source switch function
add mapping for save status in ProjectTree buffer