Bugfix: -restart button now first removeMonitor before restarting it