Cleaned up extra activity
Modified application retrieval method

Now uses PackageManager.getInstalledPackages() instead of
PackageManager.queryIntentActivities().