You could try to use the hard paper or plastic board to isolate the speaker and microphone, if they don't work then you can using the wires to connecting speaker and microphone to the citcuit and increasing their distance, you should also put them on different direction.