After new installation/computer Gramps doesn't remember last view when restarting

Try installing the Restore History (RestoreHist) addon from the third-party addons repository.

There is a brief mention of it in the Navigation - Go section of the manual.