Fix action bar menu and add deletion in detail