Thanks @Mohammad ! I have managed (I think) to reproduce the issue encountered by @dixonge, for now I solved it by adding a reset button to the UI :
To update simply drag and drop the title of the tiddler “$:/TiddlyTweaks/ReadOnly” inside a new wiki.
I wanted to update the ui when clicking on “hide all” but it seems like there is a timing issue with the macro, so I combined a save button with a refresh function.
I will open a thread for this solution, hopefully someone can help found a better way to solve this issue.
EDIT: Solution for hiding buttons/tabs ("read only") - contributions welcomed