Fixed error with not initialized view in fragments. Updated FragmentManager.