added cntDown for shutdown via button