Added onClick event on the mainlist items to start the detail activity