The medication pills on Add Shot come from your Shot Schedules, not your shot history. Logging a shot does not add or remove a pill.
To stop a medicine from appearing as a quick-pick pill, remove its schedule.
Your past shots for that medicine are kept. You can still log it manually from the full medicine list if needed.