[tienlp] Appdelegate --> common method in CoreData
Merge branch 'TienLP' into phu-branch