Fixed looping issue after 2nd user prompt