fixed issue with unnecessary facebook session closing