Moving buttons to table