Added button to stop running emulator