After testing the created app, the second screen keeps on repeating