FIXED: Controller not switching views.

Issue in refactored code trying to use goal before goal was set.