Before the detail view UI changing