public void Init()
 {
     this.Visibility        = Visibility.Hidden;
     this.IsVisibleChanged += new DependencyPropertyChangedEventHandler(this.DeviceProfileControl_IsVisibleChanged);
     this.mManufacturerTextBox.TextChanged += new TextChangedEventHandler(this.MManufacturerTextBox_TextChanged);
     this.mModelNumberTextBox.TextChanged  += new TextChangedEventHandler(this.MManufacturerTextBox_TextChanged);
     this.mBrandTextBox.TextChanged        += new TextChangedEventHandler(this.MManufacturerTextBox_TextChanged);
     if (PromotionObject.Instance.IsRootAccessEnabled || FeatureManager.Instance.IsCustomUIForNCSoft)
     {
         this.mRootAccessGrid.Visibility          = Visibility.Visible;
         this.mCurrentRootAccessStatus            = DeviceProfileControl.GetRootAccessStatusFromAndroid(this.ParentWindow?.mVmName);
         this.mEnableRootAccessCheckBox.IsChecked = new bool?(this.mCurrentRootAccessStatus);
     }
     this.mScrollBar.ScrollChanged += new ScrollChangedEventHandler(BluestacksUIColor.ScrollBarScrollChanged);
     this.mGettingProfilesFromCloud = false;
 }