Toggles correctly between demo and live mode