add footer and clear table button