enable buttonpress only when start or stop is shown.