update buttons immediately when starting/stopping tasks