Add callback function to update current screnshot URL