Reordered the activity items and added Out of Memory dialog.