Automatic add record after refreshing page

Automatic add record after refreshing page