added 'export badge image' button.