Fixed the nexus 7 bug and added the delete dialog box