Added some protection so the user can not record and playback at the same time