[Solved] [Strange Behaviour on GNOME] Cannot move "Close Maximize Exit" button back to the right side after changed the placement to the left side

I managed to revert the changes using dconf. Tick the “use default value” in /org/gnome/dekstop/wm/preferences/button-layout