move displayHint to a class
fix the bug, hint repeat after new button clicked