change detailsActivity and delete the details button in mainActivity