Button Reset Function in teacher