better bug fix for Ext JS 5 (issue #29)
correctly monitoring page refresh
Merge pull request #31 from arthurakay/master

Page refreshing