add detail activity but modify the entrance for debug.