Fix duplicate pill buttons by adding singleton guard (#83)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>