0.51 fix for minor bug in 0.50 - no notification on state end for 2nd application on a page