Hello Malkiel,
`169` is the main menu ID and I am not sure if GetColumnsPreferences() works for it. I tested in my machine and there wasn't any return. Maybe an expert can verify this.
In the mean time you can check the below topic if you need Add/Remove/Update functions for the main menu.
UI API For Dummies - Part 1 Menus
Thanks,
Atilla