backend/snap: fix the appCount issue
This creates a new variable m_app, which contains the executable desktop file and app details.
There are some things, if
- we can do it in a better way, instead of creating a cache
- we can use Sync operations and get the desktopFile name when we need it
cc @apol