How you had modified the Read Only Mode to Readonly?
I didn't modify it, it happened by itself.
The problem was fixed by itself I kept closing and reopening Visual Studio until it allowed me to process the cube and re allowed me to modify my measures.