toggle speech listening added

+fixed onResume and onPause for SpeechRecognizer