Genearated CorrectApp.java worked for frequency=1sec