added shutdown button watcher