issue #27

Check if Session.getActiveSession() is null in both onStart and onStop