Added additional parameter to showNotification