[qmf-notifications-plugin] Remove redudant code