refactor AddButtonListener
working on checkBox function for now

Signed-off-by: Greg Huang <greg65236592@yahoo.com.tw>