Removed redundant code, altered button functions to restart PC and abort the restart.