fixed error with has_ShutDownButtonBeenPressed