fix crash issue when starting detail activity from map activity