How to choose where to install an app either to sd card or device?
You can  unmount the SD card from the settings. To do this: Go to Settings -> Storage -> Unmount SD card.

Removing the card  physically is not needed. 

You can later remount the SD card whenever you need it back by using the settings again, still without actually removing and inserting the SD card.