The result you got from point 3 does not make sense, it has not saved a new sidebar width, it is still 165 which is why Geany reopens with that. What are you doing to "change the sidebar width"?
I grabbed with the mouse the vertical line between editor and sidepanel and moved it. So instead of having about 10% and 90% I changed it to 50% and 50%.