Adding waits in checks for existing allergies flash message