Adding null checks to createGrouping method. From time to time view is null which cause app to fail
Null chekcs on route page