Update appObserver.regionTree to check for rootView
Update appObserver.regionTree to check for rootView
Fix commands api