Fixed Reset Button

Removed the line that reinstates the window, which isn't allowed by the
library.