added persistancy of board, saving every 100 clicks and on demand