[Notifications KCM] Try both model indices
We prefer applicatons over services, however, when configuring a KDE application we get passed both an application and a service.
That application might be NoDisplay and then we end up not finding an index and event configuration files.
Differential Revision: https://phabricator.kde.org/D21434