move code to inspect fb selected story to a separate function