adding digits to textbox, contains errors for clearing the textbox