Fixed parameter "spelling error"

'newView' and 'oldView' was declared 'view' was used.