Allow to change page from code.