Added functionality to add new medicine with error handling, notifications, duplicate checks