Fixed bug where Reset button wouldn't reset after the first time.