Spinner Added to choose sleep time