Java Program Skips User Input Service