Added more controls to the shutdown button.