I followed exactly the same steps as above. But they are not working.
They are missing one steps or they didn't explain this clearly.
When you are doing step 4. Conditional compilation symbols: type OFFLINE. You also need to uncheck "Define DEBUG constant". Otherwise the new symbol OFFLINE won't work.
I posted this here in case someone wasted lots of time as me when try to do the same thing.