Refactored showNotFound into notFoundView