Usually, those problems are due to the inability to write to the configuration folder %appdata%\Roaming\calibre.
Cloud sync is your enemy. It can fight you. Do read the official FAQ on NAS / cloud

Layout button lower right? There are buttons, but none are called layout