Remove problem with no accesible active/root Activity

I prepare code which gives property rootActivity and use it to prevent a bugs (very oftens in Alloy apps on my environment). I also actualize samples and documentation.