fix crash when no app is found

If there is no browser or no maps app present, the app won't crash
anymore