Add a check if no sentence is added, then no need to set spinner