timob-15578: Add null check to fragmentManager

Testing steps in JIRA