handle the received notification and show alert