You must disconnect the external display with the computer in clamshell mode (screen closed) and reopen the display (normal usage) to revert the built-in monitor to the primary display. To run both screens simultaneously, connect the external display to the portable while the built-in display is not closed. This prevents the external display from becoming the primary output, and will give you the option of having the external display mirror or extend the desktop. Mirroring will match what you have on the built-in display, though probably at a lower resolution, extending will give you additional "real estate" to drag windows over to and manage your workflow more effectively.