Fix problem with reload page.
Merge pull request #4 from amigur/master

Fix problem with reload page. (F5)