Fix bounds checking when reading in notification frequency setting. Add NotificationService to manifest file.