remove some unused constants from HAMConstants.h
remove the use of popover
code refactored
Merge pull request #6 from lei-april/master

Remove the use of popovers