Save currentPage to app.