It does but Check this out first!
In both cases you have to switch screens correctly to avoid runtime errors.