Added button to switch between live / selected sample mode