Changed 'mounted' to 'created' and updated setInterval to 'apply'