* Fix the bug that buttons with empty callback not working.
* Changed config structure.