Generate feed filter buttons dynamically on topic details page