Update the amount of seconds on the page
Set attributes on application creation
Refactor setInterval update