new Intent recording IBM Watson

I just finished my project which uses IBM Watson conversation services, with the use of android studio. The problem that keeps on reoccurring is when I transfer one class (intent) to another. It seems like it keeps recording from the previous class (intent). I'm using the Text-to-speech, speech-to-text and conversation services. Each class is transferred after a voice command is given.

For example,

MainActivity --> Categories --> Category1 - This works fine

Category1 --> Categories --> Category2 - This does not work.

It seems like it is still recording from Category1. Not allowing voice commands for 'Categories' not to work.

I have tried using :

microphoneHelper.closeInputStream();
listening = false;
capture.close();
Intent intent = new Intent(Category1.this,Categories.class);
startActivity(intent);

is there something else I should close?

I am currently using

SpeechToText
private MicrophoneInputStream capture;
microphoneHelper;
textToSpeech; 
streamPlayer;

I have also tried using

finish(); &
addflags()

to close the current activity. It still records from the previous activity