Let user switch between live and batch mode.