getBoard method tries to return the last page before creating a new one. This solves last page removing bug.
Board editor will not change page to the same page it is editing.