Preview Widget button jumps back to the first page when clicked