Clear the input text after finishing an import

Fixed #66