Update to prevent alerts from crashing if called twice in a row

Update to prevent alerts from crashing if called twice in a row