CHANGED:remove the ButtonReset and its function,kind of minor modifications made