Clear input field after pressing the download button and trim spaces
Check the status code and show some basic error messages