private PendingIntent GetButton(int notificationId, CustomAction action)
        {
            Log.Debug("Alarm", "AlarmNotificationReceiver AddButtons Count : " + action.ToString());

            Intent intent = new Intent(AndroidApp.Application.Context, typeof(NotificationSelectionReceiver));

            intent.SetAction(action.Name);
            intent.PutExtra(Consts.NotificationIdKey, notificationId);
            intent.PutExtra(Consts.AlarmCounterKey, AlarmCounter);


            Log.Debug("Alarm", "AlarmNotificationReceiver AddButtons intent created: " + intent.ToString());

            var pending = AndroidApp.TaskStackBuilder
                          .Create(AndroidApp.Application.Context)
                          .AddNextIntent(intent)
                          .GetPendingIntent(messageId, PendingIntentFlags.UpdateCurrent);

            Log.Debug("Alarm", "AlarmNotificationReceiver AddButtons pendingIntent created: " + pending.ToString());

            Log.Debug("Alarm", "AlarmNotificationReceiver AddButtons finished: " + DateTime.Now.ToString());

            return(pending);
        }