Substitute pager with button and make history calls when needed instead of at once