Implement feature to set current page