Refactor to use notificationlistener instead of accisibility