bugfixes
table2: added btn_func for providing custom lambda code for generating button