Updated panel_header method in AppHelper