Using shortcuts to define alerts