Remove pause view dependency on getCurrentActivity to remove null pointer crash