setting addAlarm