Corrected method name setSelectedNavigationIndex to setSelectedNavigationItem in the exception message