Changed detail view to implement button