Improve Facebook app initializing