added get_apps_from_category function