public void commandAction(Command c, Displayable d) {
   if (c == CMD_EXIT) {
     parentMidlet.destroyApp(true);
     parentMidlet.notifyDestroyed();
   } else if (c == CMD_RECORD) {
     videoRecordThread = new VideoRecordingThread();
     videoRecordThread.start();
   }
 }