Change the position of the reset button, modify the code more concisely, the part which is charge of interaction with client.