Switching between the internal memory and the memory card