Refactoring. Disable panel before start and after stop.