* magit.el (magit-buffer-switch): Fix, save config before poping to buffer and set if after.