Properly Added detail activity class and layout