/** Shows the notification */
  @SuppressWarnings("deprecation")
  @SuppressLint("NewApi")
  private void showNotification(Builder notification) {
    NotificationManager mgr =
        (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
    int id = 0;

    try {
      id = Integer.parseInt(options.getId());
    } catch (Exception e) {
    }

    if (Build.VERSION.SDK_INT < 16) {
      // build notification for HoneyComb to ICS
      mgr.notify(id, notification.getNotification());
    } else if (Build.VERSION.SDK_INT > 15) {
      // Notification for Jellybean and above
      mgr.notify(id, notification.build());
    }
  }