Make the spray work with the input text box  Finally fixed my code base!!!