Add new item in Visual studio point to wrong directory[BUG?]

Actually I don’t know if it is a bug or UBT can’t fixed the root directory when create a new item in Visual Studio.Here is the detail:

  • If you create a new item in solution menu of VS,root directory is always point to “\Intermediate\ProjectFiles”
  • Then I changed to somewhere I want to set such as my Source directory of my project
  • After sometime it will change back to “\Intermediate\ProjectFiles”

Can UBT change it back after build?Or just save the last directory that developer set?