fix(window): save maximized state
fix(window): save maximized state

Save the window state when the window is maximized so it's remembered until next time the window
opens.

fix #475

BeatPlus/Protonmail,protonmail-desktop/application,protonmail-desktop/application,BeatPlus/Protonmail,BeatPlus/Protonmail