added gui control for Maintenance mode