refractor voice recognition code that the only when button is pressed 
the app listen to commands.