added ability to delete grocery item and updated logic to show amount if there is no measurement type