Add cancel button in detail view ofDept