removed selection pattern
implemented details activity