My script does not seem to get called on paging toolbar click.