diff --git a/modules/Users/views/PreferenceEdit.php b/modules/Users/views/PreferenceEdit.php
index ab74e2e7f0e10025342d1ae3bd20f33185620c54..22cc4c04044e774724e3a086ef8d492a8f4cab29 100644
--- a/modules/Users/views/PreferenceEdit.php
+++ b/modules/Users/views/PreferenceEdit.php
@@ -78,6 +78,7 @@ Class Users_PreferenceEdit_View extends Vtiger_Edit_View {
 			$viewer->assign('LANGUAGE', $currentUser->get('language'));
 			$viewer->assign('COMPANY_DETAILS_SETTINGS',new Settings_Vtiger_CompanyDetails_Model());
 			$viewer->assign('SELECTED_MENU_CATEGORY', 'MARKETING');
+			$viewer->assign('ACTIVE_BLOCK', Settings_Vtiger_Module_Model::getActiveBlockName($request));
 
 			$settingsModel = Settings_Vtiger_Module_Model::getInstance();
 			$menuModels = $settingsModel->getMenus();