Use Pane.activeView instead of Pane.viewForActiveItem()
Use Pane.activeView instead of Pane.viewForActiveItem()

viewForActiveItem() can create a view which we don't want to do
when responding to events in the status bar. Instead we just want
to access the already existing view for the active item.

devoncarew/status-bar,mertkahyaoglu/status-bar,pombredanne/status-bar,ali/status-bar,Abdillah/status-bar,TShapinsky/status-bar