What you are doing is setting up an acitivity pending intent. It will launch activity upon clicking the notification. Change your PendinIntent to send broadcast like this:-
pi = PendingIntent.getBroadcast(context, 0, dailyIntent,
PendingIntent.FLAG_CANCEL_CURRENT);
// notice getBroadcast()
where dailyIntent
is an intent for broadcast. This will send the mentioned broadcast intent upon clicking the notification.