title: Android Studio Run/Debug configuration error: Module not specified
body: <p>I am getting a 'Module not specified' error in my run config. I have no module showing in the drop down yet I can see my module no probs. The issue came about when I refactored my module name, changed the settings.gradle to new name.</p>
  
  <p>Now when I go to project structure and select my module nothing shows in the screen, not even an error.</p>
  
  <p>I'm not 100% sure, but the icon beside my module looks like a folder with a cup and not a folder with a phone.</p>
  
  <p>My exact steps -</p>
  
  <ol>
  <li>Open in Android view</li>
  <li>Refactor directory name</li>
  <li>refactor module name</li>
  <li>change settings.gradle contents: name to new name</li>
  </ol>