handle corner case when reset is pressed before performing any search.
Related to #26