getting information from the notification.userInfo dictionary instead of scriptingbridge