STATS/APPLICATION.JS REDIRECT TO PREVENT THE LOSE ACTIVITY BUG