Fix NoMethodError for PendingIntents