added intent to open detail