Fix backtrace when service restarts

Remove start/stop/restart buttons when a service is starting/stopping.