Fix warnings in notification_card.c