Copied getApplications from OpenHandler to Utils