Rewrite buttons