Added alertdialog on delete of a log. Removed the cardview from detail view.