Suppress deprecation warning

because of using the deprecated Notification API