Change MaterialDetail to Material, add method check material downloaded in MaterialDAO