Updating the reset page layout handler