Add switch to Chat class
Update hadleViewChange Method