code refactoring for context menu
Merge branch 'master' of github.com:teeple/pc_dev