This family rescued the injured bear in time and gave it a warm home