added detail view with button