Fixed Users without permissions get unhelpful error message
if user has no permission for an app, it is no going to exist in app_list. I fix this issue by adding a if statement so that the code will not be trying to reorder an app when is not exist in app_list