Added a possibility to set a content view using ViewFactory.onActivityCreated method